package com.ling.pl.autoproject.definition.programme.model;

import com.ling.pl.core.commons.annotation.ModelProperty;
import com.ling.pl.core.model.impl.BaseEntity;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

/**
 * Created by bo.wang on 2017/5/13.
 * 开发方案,相当于项目集
 * see https://wiki.ling2.cn/index.php/Auto_codeing_工业标准
 */
@MappedSuperclass
public class Programme extends BaseEntity {
    /**
     * 开发方案编号
     */
    @Column(name = "CODE", length = 150)
    @ModelProperty(comment = "开发方案代码")
    String code;

    @Column(name = "NAME", length = 150)
    @ModelProperty(comment = "中文名称")
    String name;

    @Column(name = "DES", length = 250)
    @ModelProperty(comment = "描述")
    String des;

    @Column(name = "TYPE", length = 250)
    @ModelProperty(comment = "方案类型")
    String type;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
